﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Aandelendelen.Db;
using Aandelendelen.Obs;

namespace Aandelendelen.Admin
{
	public partial class AdminReports : AdminBaseForm
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			this.GetSaldo();
		}

		private void GetSaldo()
		{
			Query query = new Query("s_totalsaldo");

			object retVal = query.Execute();

			this.lblSaldo.Amount = (retVal == null ? 0 : (decimal)retVal);
		}
	}
}